﻿using System;

namespace WordCount
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            WC wc = new WC();
            args = wc.Check(args);
            wc.CountData(wc.fileName);
            wc.ExecutiveCommand(args, 0);
            wc.Save();
            Console.Read();
        }
    }
}
